package DAL.DTO;

import java.util.Vector;

public class TechnicienDTO extends EmployeDTO {
        private Vector<InterventionDTO> listeInterventions;
        
        public TechnicienDTO(   String matricule, String nom, String prenom, String rue, 
                                String numero, int codePostal, String ville, String pays,
                                ZoneGeographiqueDTO zone, String telephone, String email,
                                boolean gestionClient, boolean gestionIntervention, 
                                boolean gestionPlanning, boolean gestionDirection, 
                                boolean gestionOnSite, boolean gestionSysteme,
                                String password) {
                            
                super(  matricule, nom, prenom, rue, numero, codePostal, ville, pays,
                        zone, telephone, email, gestionClient, gestionIntervention, 
                        gestionPlanning, gestionDirection, gestionOnSite, gestionSysteme,
                        password);
                this.listeInterventions = new Vector<InterventionDTO>();
        }
 
        public TechnicienDTO(   String nom, String prenom, String rue, 
                                String numero, int codePostal, String ville, String pays,
                                ZoneGeographiqueDTO zone, String telephone, String email,
                                boolean gestionClient, boolean gestionIntervention, 
                                boolean gestionPlanning, boolean gestionDirection, 
                                boolean gestionOnSite, boolean gestionSysteme,
                                String password) {
                            
                super(  nom, prenom, rue, numero, codePostal, ville, pays,
                        zone, telephone, email, gestionClient, gestionIntervention, 
                        gestionPlanning, gestionDirection, gestionOnSite, gestionSysteme,
                        password);
                this.listeInterventions = new Vector<InterventionDTO>();
                //throw new UnsupportedOperationException("Not yet implemented");
        }
}